package routers

import (
	"github.com/gin-gonic/gin"
	v1 "perfect-admin/api/v1"
	"perfect-admin/middleware"
)

func InitLoginLogRouter(Router *gin.RouterGroup)  {
	LoginLogRouter := Router.Group("loginlog").Use(middleware.JWTAuth())
	{
		LoginLogRouter.GET("/getLoginLogList", v1.GetLoginLogList)
		LoginLogRouter.GET("/getLoginLogListByIds", v1.GetLoginLogListByIds)
		LoginLogRouter.DELETE("/deleteLoginLog", v1.DeleteLoginLog)
		LoginLogRouter.DELETE("/clean", v1.CleanLoginLog)
	}
}

